export const PolylineObject = {
    isOutline: true,
    outlineColor: 'transparent',
    borderWeight: 3,
    strokeColor: "#e52b1d",
    strokeOpacity: 1,
    strokeWeight: 3,
    // 折线样式还支持 'dashed'
    strokeStyle: "solid",
    // strokeStyle是dashed时有效
    strokeDasharray: [5, 5],
    lineJoin: 'round',
    lineCap: 'round',
}

export const TextObject = {
    text: "禁行路线", //标记显示的文本内容
    anchor: "center", //设置文本标记锚点位置
    draggable: true, //是否可拖拽
    cursor: "pointer", //指定鼠标悬停时的鼠标样式。
    angle: -2, //点标记的旋转角度
    style: {
        //设置文本样式，Object 同 css 样式表
        "padding": "0.15rem .35rem",
        "margin-bottom": "1rem",
        "border-radius": "0.25rem",
        "background-color": "rgb(21 40 91 / 58%)",
        "border-width": "0px",
        "text-align": "center",
        "font-size": "12px",
    },

    position: [111, 22], //点标记在地图上显示的位置
}